package com.yilin.platform.entity.capital;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yilin.platform.base_core.commons.base.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "book")
@TableName(value = "book")
public class Book extends BaseEntity {
    @Column(name = "name")
    private String name;//书名
    @Column(name = "book_no")
    private Integer bookNo;//编号
    @Column(name = "book_to")
    private Boolean bookTo=false;//是否借出
    @Column(name = "accouit_id")
    private String accouitId;

    @Column(name = "accouit_name")
    private String accouitName;

    public String getAccouitId() {
        return accouitId;
    }

    public void setAccouitId(String accouitId) {
        this.accouitId = accouitId;
    }

    public String getAccouitName() {
        return accouitName;
    }

    public void setAccouitName(String accouitName) {
        this.accouitName = accouitName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getBookNo() {
        return bookNo;
    }

    public void setBookNo(Integer bookNo) {
        this.bookNo = bookNo;
    }

    public Boolean getBookTo() {
        return bookTo;
    }

    public void setBookTo(Boolean bookTo) {
        this.bookTo = bookTo;
    }
}

